import request from '@/utils/request'

//获取机构教师列表
export function getDeptTeacherList(data) {
    return request({
        url: '/api/platform/v2/getDeptTeacherList?deptId=' + data.deptId + "&nickName=" + data.nickName,
        method: 'post',
        headers: {
            isToken: true
        },
        data
    })
}

//获取教师风采列表
export function getDeptTeacherViewList(data) {
    return request({
        url: '/api/platform/v2/getDeptTeacherViewList?deptId=' + data.deptId,
        method: 'post',
        headers: {
            isToken: true
        },
        data
    })
}


//获取机构教师课表
export function getTeacherTimetablePackage(data) {
    return request({
        url: '/api/platform/v2/getTeacherTimetablePackage?deptId=' + data.deptId +"&userId="+ data.userId + "&searchDate=" + data.searchDate,
        method: 'post',
        headers: {
            isToken: true
        },
        data
    })
}

//获取机构教师课表
export function getDeptCoursePriceList(data) {
    return request({
        url: '/api/platform/v2/getDeptCoursePriceList?deptId=' + data.deptId + "&searchDate=" + data.searchDate,
        method: 'post',
        headers: {
            isToken: true
        },
        data
    })
}

//获取机构教师的详细信息
export function getTeacherInfo(data) {
    return request({
        url: '/api/platform/v2/getTeacherInfo?teacherId=' + data.teacherId,
        method: 'post',
        headers: {
            isToken: true
        },
        data
    })
}


